package com.gn.heavenpark.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

public class Schedule extends Activity{
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.schedule);
		
		Button bt1 = (Button)findViewById(R.id.scheduleAddForm);
		bt1.setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View v) {
				Intent intent = new Intent(Schedule.this,ScheduleAdd.class);
				startActivity(intent);
			}
		});
		
		TextView tv1 = (TextView)findViewById(R.id.scheduleTest);
		tv1.setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View v) {
				Intent intent = new Intent(Schedule.this,ScheduleInfo.class);
				startActivity(intent);
			}
		});
	}
}
